package com.tjetc.service;

import com.tjetc.common.JsonResult;


public interface SpotService {
    JsonResult getAll();
    JsonResult getTop(Long l);
    JsonResult getBytagclazz();
    JsonResult getSpotByCity(Long cityCode);

    JsonResult findSpotById(Long id);

    JsonResult getTopSpotsByCity(Long cityCode, int limit);
    
    // 添加访问量相关的方法
    JsonResult getTopByVisitorsCount(int limit);
    JsonResult getTopSpotsByCityAndVisitorsCount(Long cityCode, int limit);
    JsonResult incrementSpotVisitorsCount(Long spotId);
    JsonResult getSpotDetail(Long spotId);
    
    /**
     * 获取城市景点（支持分页、筛选和排序）
     */
    JsonResult getSpotsByCityWithFilters(
        Long cityCode,
        Integer page,
        Integer pageSize,
        String type,
        String priceRange,
        Integer rating,
        String sortKey,
        String sortDirection
    );
}
